﻿#if !WINDOWS_PHONE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AzureDiagMon.Common.Helpers
{
    public class DataValidator
    {
        //TODO: Implement validator without DataAnnotation
        //public static bool TryValidate(object entity, out ICollection<ValidationResult> results)
        //{
        //    var context = new ValidationContext(entity, serviceProvider: null, items: null);
        //    results = new List<ValidationResult>();
        //    return Validator.TryValidateObject(
        //        entity, context, results,
        //        validateAllProperties: true
        //    );
        //}
    }
}
#endif
